Added 'contains' support to BooleanMacro and Bool.