@Override
  public final boolean onExecute(
      GoldenApple instance, User user, String commandLabel, String[] args) {
    if (user.getVariableBoolean("goldenapple.complexSyntax")) {
      onExecuteComplex(instance, user, commandLabel, args);
    } else {
      onExecuteSimple(instance, user, commandLabel, args);
    }

    return true;
  }
 /**
  * Checks whether or not the user may edit this block. Edit in this context is defined as being
  * able to destroy the block, or change the properties of the lock on this block.
  *
  * @param user The user that is being checked for access to this block.
  * @return True if the user is allowed to edit this block, false otherwise.
  */
 public boolean canEdit(User user) {
   return (user.getId() == ownerId);
 }
 /**
  * Checks whether or not the user may use this block. Use in this context is defined as being able
  * to use right-click actions and, if applicable, modify the contents of the block represented by
  * this protection.
  *
  * @param user The user that is being checked for access to this block.
  * @return True if the user is allowed to use this block, false otherwise.
  */
 public boolean canUse(User user) {
   return (level == LockLevel.PUBLIC || user.getId() == ownerId || guests.contains(user.getId()));
 }