code: def _is_static_pad(kernel_size, stride=1, dilation=1, **_):
      return stride == 1 and (dilation * (kernel_size - 1)) % 2 == 0
  
imports: import collections.abc
  import math
  from functools import partial
  from itertools import repeat
  from typing import Tuple, Optional
  import numpy
  import torch
  import torch.nn
  import torch.nn.functional
  from .config import *
label_desc: Use image node_id 2 for calling a global function with example usage: _is_static_pad(kernel_size, stride, dilation) and returns: unknown