docs: def get_local_properties(elt, keys=None, ctx=None):
      """Get local elt properties (not defined in elt type or base classes).
  
      :param elt: local properties elt. Not None methods.
      :param keys: keys of properties to get from elt.
      :param ctx: elt ctx from where get properties. Equals elt if None. It
          allows to get function properties related to a class or instance if
          related function is defined in base class.
  
      :return: dict of properties by name.
      :rtype: dict
      """
  
      if isinstance(keys, string_types):
          keys = (keys,)
  
      result = _get_properties(elt, keys=keys, local=True, ctx=ctx)
  
      return result