feature(isResolvable): add built-in isResolvable function