def is_meta_resource_type_mutable(context, meta_resource_type):
 if context.is_admin:
  return True
 if (context.owner is None):
  return False
 if meta_resource_type.namespace:
  return (meta_resource_type.namespace.owner == context.owner)
 else:
  return False

def is_meta_resource_type_mutable ( context , meta_resource_type ) : if context . is_admin : return True if ( context . owner is None ) : return False if meta_resource_type . namespace : return ( meta_resource_type . namespace . owner == context . owner ) else : return False
return true if the meta_resource_type is mutable in this context .