Added a method to graphs to return whether or not getting neighbors can be done quickly