bash check if process is running by name

Shell
if pgrep -x "<PROCESS_NAME>" > /dev/null; then
	echo "Running"
else
	echo "Not running"
fi
Source

Also in Shell: