def _is_float_nan(node):
    try:
        if (isinstance(node, astroid.Call) and (len(node.args) == 1)):
            if ((node.args[0].value.lower() == 'nan') and (node.inferred()[0].pytype() == 'builtins.float')):
                return True
        return False
    except AttributeError:
        return False
def _is_float_nan(node):
    try:
        if (isinstance(node, astroid.Call) and (len(node.args) == 1)):
            if ((node.args[0].value.lower() == 'nan') and (node.inferred()[0].pytype() == 'builtins.float')):
                return True
        return False
    except AttributeError:
        return False