def synchronousIsValidUser(user):
 return (user in ['Alice', 'Angus', 'Agnes'])

def synchronousIsValidUser ( user ) : return ( user in [ 'Alice' , 'Angus' , 'Agnes' ] )
return true if user is a valid user .