Returns true if the specified flag is set, otherwise false.
hasFlag = Object:HasFlag( index, flag )
number index
The index of the flags data in the Object.
Valid numbers: integers from 0 to 65,535.
number flag
The flag to check for in the flags data.
Valid numbers: integers from 0 to 4,294,967,295.
boolean hasFlag
- See method description.