Check if field is in required fields for serialization