Add method to check if required fields exist.