public static boolean hasCodeDelegation(final Bytes code) {
    return code != null
        && code.size() == DELEGATED_CODE_SIZE
        && code.slice(0, CODE_DELEGATION_PREFIX.size()).equals(CODE_DELEGATION_PREFIX);
  }
Returns if the provided code is delegated code.

@param code the code to check.
@return {@code true} if the code is delegated code, {@code false} otherwise.
evm/src/main/java/org/hyperledger/besu/evm/worldstate/CodeDelegationHelper.java