@property
    def has_landmarks(self):
        """
        Whether the object has landmarks.

        :type: `bool`
        """
        return self._landmarks is not None and self.landmarks.n_groups != 0
dataset/ETHPy150Open menpo/menpo/menpo/landmark/base.py/Landmarkable.has_landmarks/original