Returns a value indicating whether the current user is allowed to perform the specified task.
The task to check.
True if the current user can perform the task; otherwise false.
scopedTask is null (Nothing in Visual Basic).