queries: moved internal hasHybridCondition()