14Power of court to refuse application or sist proceedings.
(1)A court in Scotland which has jurisdiction to entertain an application for a custody order may refuse the application in any case where the matter in question has already been determined in other proceedings.
(2)Where, at any stage of the proceedings on an application made to a court in Scotland for a custody order, it appears to the court—
(a)that proceedings with respect to the matters to which the application relates are continuing outside Scotland or in another court in Scotland; or
(b)that it would be more appropriate for those matters to be determined in proceedings outside Scotland or in another court in Scotland and that such proceedings are likely to be taken there,
the court may sist the proceedings on that application.