how to check if pip is installed

Shell
File"stdin",line 1

pip list

Syntax Error: invalid syntaxpython -m pip install <package>
Source

Also in Shell: