Checks that static, non-final fields conform to the specified format