'This checks for the special case of nested imports, without aliases and
from statement::
import foo.bar'

def is_nested(self):

    return [1 for (path, alias) in self._dotted_as_names() if ((alias is None) and (len(path) > 1))]
