, . , , isPossible. , isImpossible.
In any case, you can use elseif you need to check both cases.
From your description, it seems more important to you to check the impossibility, so I would go with isImpossible:
if(isImpossible)
{
}
else
{
}
source
share