Checks if in dictionary, removed print statement.