This import takes a ridiculously long time just to implement a function that can be done in one line in O(1) time.