Returns whether a flag is set.
impl MemLockFlags { fn is_set(&self, flag: MemLockFlags) -> bool }
The flag to be checked.