bug fix: explicitly use "is" for testing
update docs