Adds method that checks only whether a name exists within the names data

source.