def _islinklike(dir_path):
dir_path = ph.path(dir_path)<EOL>if platform.system() == '<STR_LIT>':<EOL><INDENT>if dir_path.isjunction():<EOL><INDENT>return True<EOL><DEDENT><DEDENT>elif dir_path.islink():<EOL><INDENT>return True<EOL><DEDENT>return False<EOL>
Parameters
----------
dir_path : str
    Directory path.

Returns
-------
bool
    ``True`` if :data:`dir_path` is a link *or* junction.