Utility function that calls validateKey and validateValue.
validateKey, validateValue
See Implementation
Utility function that calls validateKey and validateValue.