function isAssignmentProperty(node) {
  return node.type === 'Property'
}
Checks whether the given node is AssignmentProperty.
@param {AssignmentProperty | RestElement} node
@returns {node is AssignmentProperty}