def contains(self, items, pad=<NUM_LIT:0>):
o = ((items >= self.l-pad) & (items < self.r+pad))<EOL>if len(o.shape) == <NUM_LIT:2>:<EOL><INDENT>o = o.all(axis=-<NUM_LIT:1>)<EOL><DEDENT>elif len(o.shape) == <NUM_LIT:1>:<EOL><INDENT>o = o.all()<EOL><DEDENT>return o<EOL>
Test whether coordinates are contained within this tile.

Parameters
----------
items : ndarray [3] or [N, 3]
    N coordinates to check are within the bounds of the tile

pad : integer or ndarray [3]
    anisotropic padding to apply in the contain test

Examples
--------
>>> Tile(5, dim=2).contains([[-1, 0], [2, 3], [2, 6]])
array([False,  True, False], dtype=bool)