import math


def is_na(element):
    """Check if an element is 'not available'"""
    if isinstance(element, str):
        return element == "\\N"
    elif isinstance(element, float):
        return math.isnan(element)
    return False