Optimized Block `is_identity` method.
Optimized Block `is_identity` method.

Inspired by https://github.com/catb0t/sidef/commit/96baa23d50f460e0a5e60af9b55a04cb91a53c6a

trizen/sidef,trizen/sidef,trizen/sidef,trizen/sidef