isDense method, also made signed