code: def return_false_on_exception(func):
      
      @wraps(func)
      def exceptfalse(*args, **kwargs):
          if not kwargs.pop('raise_exceptions', False):
              try:
                  return func(*args, **kwargs)
              except Exception:
                  return False
          else:
              return func(*args, **kwargs)
      return exceptfalse
docs: Decorator. When applied to a function, it will, by default, suppress any exceptions
      raised by that function and return False. It may be overridden by passing a
      "raise_exceptions" keyword argument when calling the wrapped function.