code: def generate_is_role_functions(cls, roles):
          
          for access_role in roles.keys():
              setattr(cls, "is_" + access_role, lambda x: False)
docs: Generate `class.is_{role}()` methods for a class.
  
          :param class cls: The python class to be modified.
          :param dict roles: The roles to use for generation.
  
          This method is intended to be used by an inheriting class to
          generate `is_{role}()` methods based on the roles provided
          during generation.
  
          :class:`RaxKeystone` uses this to add these methods to a dynamically
          generated class which inherits from this class.
  
          Note that as this is an Anonymous user, these functions will always
          return `False`.