Did you know ... Search Documentation:
variable->get_access