Checks for names