def submission_allowed(user, parsed_addon_data):
 return ((not parsed_addon_data.get('is_experiment', False)) or action_allowed_user(user, 'Experiments', 'submit'))

def submission_allowed ( user , parsed_addon_data ) : return ( ( not parsed_addon_data . get ( 'is_experiment' , False ) ) or action_allowed_user ( user , 'Experiments' , 'submit' ) )
experiments can only be submitted by the people with the right group .