code: def get_permissions(self, namespace, explicit=False):
          
  
          if not isinstance(namespace, Namespace):
              namespace = Namespace(namespace)
          keys = namespace.keys
          p, _ = self._check(keys, self.index, explicit=explicit)
          return p
docs: Returns the permissions level for the specified namespace
  
          Arguments:
  
          namespace -- permissioning namespace (str)
          explicit -- require explicitly set permissions to the provided namespace
  
          Returns:
  
          int -- permissioning flags