#include "header.h" /** * is_path - checks if input command is part of directory PATH * @command: a command * * Return: 1 if path, 0 if no path */ int is_path(char *command) { int i; i = 0; while (command[i] != '\0') { if (command[i] == '/') return (1); i++; } return (0); }