import re


def is_coordinate(s):
    """Check if input is a coordinate."""
    matches = re.search(
        r'([+-]?([0-9]{1,2}):([0-9]{2})(:[0-9]{2})?\.?([0-9]+)?)', s)

    return False if matches is None else True