code: function(key, properties) {
              if(!(/primaryAxis/.test(key))) {
                  return false;
              }
              if(/primaryAxisTitle/.test(key)) {
                  return properties[key.replace(/primaryAxisTitle/, "axisTitleX")];
              }
              return properties[key.replace(/primaryAxis/, "axisX")];
          }
docs: checks if the given x-axis key is deprecated, and if so returns true if that key's non-deprecated counterpart is set in the properties map, otherwise returns false