isSimple ported from bh