One thing I found useful when looking if a function already exists under a different name is to use Hayoo to search for the type, i.e.:

http://holumbus.fh-wedel.de/hayoo/hayoo.html#0:(a%20-%3E%20Bool)%20-%3E%20%5Ba%5D%20-%3E%20(%5Ba%5D%2C%5Ba%5D)

- Chris