def get_permissions(self, namespace, explicit=False):
if not isinstance(namespace, Namespace):<EOL><INDENT>namespace = Namespace(namespace)<EOL><DEDENT>keys = namespace.keys<EOL>p, _ = self._check(keys, self.index, explicit=explicit)<EOL>return p<EOL>
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