def get_exploration_rights(exploration_id, strict=True):
 model = exp_models.ExplorationRightsModel.get(exploration_id, strict=strict)
 if (model is None):
  return None
 return _get_activity_rights_from_model(model, feconf.ACTIVITY_TYPE_EXPLORATION)

def get_exploration_rights ( exploration_id , strict = True ) : model = exp_models . ExplorationRightsModel . get ( exploration_id , strict = strict ) if ( model is None ) : return None return _get_activity_rights_from_model ( model , feconf . ACTIVITY_TYPE_EXPLORATION )
retrieves the rights for this exploration from the datastore .