Methods for checking if it matches the data from the adapter