Using AccessResult and corrected checkAccess doc

In response to core issue 2287071