Cleanup the isRevisionable function