[storage] get rid of is_a usage. it allows lower php version required.

It fixes https://github.com/Sylius/Sylius/issues/488