import time


def is_time(value=''):
    """
    Check if the value is time.

    Parameters
    ----------
    value : str
        Value to check.

    Returns
    -------
    boolean
        Whether the value is time.
    """
    try:
        time.strptime(str(value), '%H:%M')
    except ValueError:
        return False

    return True