paths_allowed function

check if a bot has permissions to access page(s)