[Fix #111] Rename boolean functions