def is_timestamp(value):
    """Check if value is a valid timestamp."""
    if isinstance(value, bool):
        return False
    if not (isinstance(value, int) or isinstance(value, float) or
        isinstance(value, str)):
        return False
    try:
        float(value)
        return True
    except ValueError:
        return False
