The function checks if there is a workmate with given workmateID in the database
Possible ReturnCodes result values: