human
Complete this python program:
def _function_matcher(matcher_func):
assistant
#Here is the Python program you requested.

    """Safer attribute lookup -- returns False instead of raising an error.
    """
    def match(node):
        try:
            return matcher_func(node)
        except (LookupError, AttributeError, ValueError, TypeError):
            return False
    return match