| Conditions | 1 |
| Total Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | from coalib.bears.requirements.PackageRequirement import PackageRequirement |
||
| 40 | def is_installed(self): |
||
| 41 | """ |
||
| 42 | Checks if the dependency is installed. |
||
| 43 | |||
| 44 | :param return: True if dependency is installed, false otherwise. |
||
| 45 | """ |
||
| 46 | return not call_without_output(('npm', 'show', self.package),) |
||
| 47 |