function hasUsedObjectDestructuringSyntax(params) {
  return (
    params != null
    && params.length >= 1
    && params[0].type === 'ObjectPattern'
  );
}
@fileoverview Prevent usage of referential-type variables as default param in functional component
@author Chang Yan