feat(lua): add is_* predicates

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
feat(lua): add is_* predicates