Added function to return test if a name was present in an array