def METHOD_NAME(value):
    """
    We regard falsey and NaN values as empty
    """
    if not value:
        return False
    if isinstance(value, float) and math.isnan(value):
        return False
    return True