jekyll: 3.9.3
liquid: 4.0.4

Case: 'a' contains 'b'

no

Case: 'aba' contains 'b'

yes

Case: 'aba' contains 'a'

yes

Case: '@/home/w11/' contains '@/blogs/'

no

Case: '@/home/w11/' contains '@/home/'

yes

Case: '@/home/w11/' contains '@/home/w11/'

yes

Case: '@/home/w11/' contains '@/home/w11/impl'

no