Is q equal to this
q
bool equals(Quaternion q ) { return x == q.x && y == q.y && z == q.z && w == q.w; }