method to check field existance