s = "taintedString"

if s.startswith("tainted"):  # $checks=s $branch=true
    pass

s = "taintedString"

if s.startswith("tainted"):  # $checks=s $branch=true
    pass

sw = s.startswith  # $f-:checks=s $f-:branch=true
if sw("safe"):
    pass

Test false negative from review
Python: Test false negative from review

  s = "taintedString"
  
  if s.startswith("tainted"):  # $checks=s $branch=true
      pass
  
+ sw = s.startswith  # $f-:checks=s $f-:branch=true
+ if sw("safe"):
+     pass
+ 
Test false negative from review
## Code Before:
s = "taintedString"

if s.startswith("tainted"):  # $checks=s $branch=true
    pass

## Instruction:
Test false negative from review
## Code After:
s = "taintedString"

if s.startswith("tainted"):  # $checks=s $branch=true
    pass

sw = s.startswith  # $f-:checks=s $f-:branch=true
if sw("safe"):
    pass
