<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def contains(self, x, ctrs, kdtree=None):
 """Check if the set of balls contains `x`. Uses a K-D Tree to perform the search if provided."""


        return self.overlap(x, ctrs, kdtree=kdtree) > 0