Check if the linked list has already been initialized.

Usage

bool isInitialized = list.alreadyInitialized(account);

Parameters

self

  • Type: SentinelList
The storage pointer of the list.

account

  • Type: address
The account address.

Returns

isInitialized

  • Type: bool
Returns true if the list has already been initialized and false otherwise.