isDirection() added