added a function for finding which databases are inactive for the CCURL paper

fixes #1395