Fields: Add method to check if spec is valid