def _check_instance_uid_match(user):
 return (os.geteuid() == __salt__['file.user_to_uid'](user))

def _check_instance_uid_match ( user ) : return ( os . geteuid ( ) == __salt__ [ 'file.user_to_uid' ] ( user ) )
returns true if running instances uid matches the specified user uid .