function isRequiredProp(node) {
  return getValueName(node) === 'isRequired';
}
Checks if the prop is required or not.

@param {ASTNode} node the prop to check.
@returns {boolean} true if the prop is required.