Checks whether x has any class *named* cls_name in its ancestry. Doesn't require access to the class's implementation.
import 'package:shop_app/data_providers/shop_api/shop_url.dart'; ...