Refactor equilateral? method